AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Send a log message to the wrapped logging framework.

Namespace: Amazon.Runtime.Logging
Assembly: AWSSDK.Core.dll
Version: 3.x.y.z

Syntax

C#
public abstract void Log(
         SdkLogLevel level,
         String message,
         Exception ex,
         Object[] parameters
)

Parameters

level
Type: Amazon.Runtime.Logging.SdkLogLevel

Level of the log message.

message
Type: System.String

Message to be logged.

ex
Type: System.Exception

Exception that should be logged. If no has occurred exception pass null.

parameters
Type: System.Object[]

Parameters to use for formatting the log message.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer